package model.AttentionHouse;


import model.AttentionHouse.service.IAttentionhouseService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import org.springframework.test.context.junit4.SpringRunner;


/**
 * Created by Sunshine、宸 on 2019/6/24.
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class testAttentionHouseService {
    @Autowired
    private IAttentionhouseService attentionhouseService;

    @Test
    public void testfindAll(){

        System.out.println(  attentionhouseService.findAll());
    }

    @Test
    public void testdelById(){
       attentionhouseService.delById(1);
    }
}
